﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TWord.aspx.cs" Inherits="ZHDJ.PersonalCenter.Module.RelationshipTransfer.TWord" %>

<%@ Register Src="TemplateR.ascx" TagPrefix="uc1" TagName="TemplateR" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <uc1:TemplateR runat="server" ID="TemplateR" />

</head>
<body>
    <form id="form1" runat="server">
        <div style="height: 50px; position: fixed; top: 20px; width: 100%;">
            <div style="text-align: right; margin-right: 150px">
                <asp:Button ID="Button1" runat="server" Text="下载" CssClass="button red" OnClick="Button1_Click" />

            </div>
        </div>

        <div style="width: 640px; margin: 0 auto">

            <asp:Panel runat="server" ID="palWord" Width="640px">
                <table style="width: 620px; border-collapse: collapse; border-spacing: 0; border-left: 1px solid #000; border-top: 1px solid #000;">

                    <tr style="">
                        <td style="border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 15px 15px; width: 8%; text-align: center; font-weight: 700; line-height: 20px">党员介绍信存根</td>
                        <td style="border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 5px 5px; width: 84%" valign="top">
                            <table style="width: 100%; border: none">
                                <tr>
                                    <td style="text-align: right; padding-right: 10px">第________号</td>
                                </tr>

                                <tr>
                                    <td style="padding-top: 25px">&nbsp;&nbsp;&nbsp;<span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px; display: inline-block">&nbsp;&nbsp;&nbsp;&nbsp;<%=OrgMemberModel.UserName%>&nbsp;&nbsp;&nbsp;&nbsp;</span>同志系中共（预备/正式）党员，</td>
                                </tr>
                                <tr style="height: 40px">
                                    <td>组织关系由<span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px;"><%= ZHDJ.WebPage.ControlBusiness.GetBranchPickerText(TransferModel.FormerBranchID)%></span>转到<span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px; display: inline-block; width: 140px; text-align: center;"><%= ZHDJ.WebPage.ControlBusiness.GetBranchPickerText(TransferModel.TageBranchID)%></span>。</td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; padding-right: 10px;"><%=TransferModel.CreateTime.ToString("yyyy 年 MM 月 dd 日")%></td>
                                </tr>
                            </table>
                        </td>
                        <td style="border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 10px 15px; width: 10%; text-align: center; word-wrap: break-word;">第一联</td>

                    </tr>

                </table>
                <table style="width: 620px; border: none">
                    <tr style="height: 20px">
                        <td style="text-align: center; border-bottom: 2px dotted  #000; font-size: smaller;">（贴回执联处）</td>
                    </tr>
                </table>
                <table style="width: 620px; border: none">
                    <tr style="height: 30px">
                        <td style="text-align: right; font-size: smaller;">（加盖骑缝章）</td>
                    </tr>
                </table>
                <table style="width: 620px; border: none">
                    <tr style="height: 30px">
                        <td style="text-align: center; font-size: 24px; font-weight: 700">中国共产党党员组织关系介绍信</td>
                    </tr>
                </table>
                <table style="width: 620px; border-collapse: collapse; border-spacing: 0; border-left: 1px solid #000; border-top: 1px solid #000;">

                    <tr style="">

                        <td style="border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 5px 5px; width: 92%" valign="top">
                            <table style="width: 100%; border: none">
                                <tr>
                                    <td style="text-align: right; padding-right: 5px">第<%=TransferModel.SerialNumber%>号</td>
                                </tr>
                                <tr>
                                    <td style="padding-top: 3px"><span><%= ZHDJ.WebPage.ControlBusiness.GetBranchPickerText(LetterTo)%></span>：</td>
                                </tr>
                                <tr>
                                    <td style="padding-top: 5px; line-height: 23px">&nbsp;&nbsp;
                                        <span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px; display: inline-block">&nbsp;&nbsp;&nbsp;&nbsp;<%=OrgMemberModel.UserName%>&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                        同志（男/女），<span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px; display: inline-block"><%=TransferModel.Age%></span>岁，
                                        <span style="border-bottom: 1px solid #000; padding-left: 30px; padding-right: 30px; display: inline-block"><%=OrgMemberModel.Nation%></span>族，系中共<span><%=GetPoliticsLineamentName(OrgMemberModel.PoliticsLineament) %></span>党员，
                                        身份证号<span style="border-bottom: 1px solid #000; padding-left: 40px; padding-right: 150px; display: inline-block"><%=OrgMemberModel.IdentityCard%></span>，由<span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px; display: inline-block; width: 230px; text-align: center;"><%=ZHDJ.WebPage.ControlBusiness.GetBranchPickerText(TransferModel.FormerBranchID)%></span>去<span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px; display: -moz-inline-box; display: inline-block; width: 230px; text-align: center;">
                                            <%= ZHDJ.WebPage.ControlBusiness.GetBranchPickerText(TransferModel.TageBranchID).PadRight(10,' ')%>
                                        </span>，<br>
                                        请转接组织关系，该同志党费已交到<span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px; display: inline-block"><%=GetMemberCost(0)%></span>年<span style="border-bottom: 1px solid #000; padding-left: 10px; padding-right: 10px; display: inline-block"><%=GetMemberCost(1)%></span>月。<br>
                                        （有效期 <%=TransferModel.ValidTime%> 天）

                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right"><span style="padding-right: 10px;"><%= ZHDJ.WebPage.ControlBusiness.GetBranchPickerText(LetterFrom)%></span></td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; padding-right: 30px;">（盖章）</td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; padding-right: 10px;"><%=TransferModel.CreateTime.ToString("yyyy 年 MM 月 dd 日")%></td>
                                </tr>
                                <tr>
                                    <td style="height: 20px"></td>
                                </tr>
                                <tr>
                                    <td style="text-align: left; padding: 3px 0">党员联系电话或其他联系方式：<%=OrgMemberModel.MobileNo%></td>
                                </tr>
                                <tr>
                                    <td style="text-align: left; padding: 3px 0">党员原所在基层党委通讯地址：<%=TransferModel.FromBranchAddress%></td>
                                </tr>
                                <tr>
                                    <td style="text-align: left; padding: 15px 15px 0 15px">联系电话：<span style="display: inline-block; width: 140px"><%=TransferModel.FromBranchMobileNo%></span>传真：<span style="display: inline-block; width: 140px"><%=TransferModel.FromBranchFax%></span>邮编：<%=TransferModel.FromBranchZip%></td>
                                </tr>
                            </table>
                        </td>
                        <td style="border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 10px 15px; width: 10%; text-align: center; word-wrap: break-word;">第一联</td>

                    </tr>

                </table>
                <table style="width: 620px; border: none">
                    <tr style="">
                        <td style="text-align: center; border-bottom: 2px dotted  #000; padding-bottom: 10px;">&nbsp;</td>
                    </tr>
                </table>

                <table style="width: 620px; border: none">
                    <tr style="height: 40px">
                        <td style="text-align: center; font-size: 24px; font-weight: 700;">中国共产党组织关系介绍信回执联</td>
                    </tr>
                </table>
                <table style="width: 620px; border-collapse: collapse; border-spacing: 0; border-left: 1px solid #000; border-top: 1px solid #000;">

                    <tr style="">

                        <td style="border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 5px 5px; width: 92%" valign="top">
                            <table style="width: 100%; border: none">
                                <tr>
                                    <td style="text-align: right; padding-right: 10px">第&nbsp;&nbsp;号</td>
                                </tr>
                                <tr>
                                    <td style="padding-top: 5px">__________________：</td>
                                </tr>
                                <tr>
                                    <td style="padding-top: 5px">
                                        <span style="border-bottom: 1px solid #000; width: 80px; display: inline-block">&nbsp;</span>
                                        同志的党员组织关系已传达我处，特此回复。
                                    </td>
                                </tr>

                                <tr>
                                    <td style="text-align: right">（盖章）</td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">年&nbsp;&nbsp;月&nbsp;&nbsp;日</td>
                                </tr>
                                <tr>
                                    <td style="text-align: left; padding: 5px 0">经办人：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;联系电话：</td>
                                </tr>
                            </table>
                        </td>
                        <td style="border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 15px 15px; width: 8%; text-align: center; word-wrap: break-word;">第三联</td>

                    </tr>

                </table>
                <table style="width: 620px; border: none">
                    <tr style="height: 30px">
                        <td style="padding: 1px 5px">注：回执联由接收党员组织关系的基层党委在接收党员一个月内邮递或传真至党员原所在基层党委。</td>
                    </tr>
                </table>
            </asp:Panel>
        </div>
        <div style="height: 100px;"></div>
    </form>
</body>
</html>
